#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTime>
#include <QTimer>
#include <QString>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

public slots:
    //void getCurrentTime();
    void showTime();
    
private:
    Ui::MainWindow *ui;
private:
    QTime *time;
    QString string;
    int hour, minute, second;
};

#endif // MAINWINDOW_H
